package com.example.thegreatwall.service;

import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.example.thegreatwall.entity.Inventory;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

public interface InventoryService extends IService<Inventory> {


    int reqUpdinventory(int product_id, int product_type, String record_date, int quantity);

    boolean releaseLockedInventory(int productId, int productType, String recordDate, int quantity);

    boolean confirmDeduction( int productId, int productType, String recordDate, int quantity);
}
